Platform Explorer / Nuxeo Platform 2023.20

Component org.nuxeo.ecm.automation.rest.pageprovider.contrib

Documentation

Default QueryModel contributions used to fetch document lists.

Damien Metzler

Resolution Order

73
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.automation.rest.pageprovider.contrib">

  <documentation>
    Default QueryModel contributions used to fetch document lists.

    @author
    <a href="mailto:dmetzler@nuxeo.com">Damien Metzler</a>
  </documentation>

  <extension
    target="org.nuxeo.ecm.platform.query.api.PageProviderService"
    point="providers">
    <coreQueryPageProvider name="CURRENT_DOC_CHILDREN">
      <property name="maxResults">PAGE_SIZE</property>
      <pattern>
        SELECT * FROM Document WHERE ecm:parentId = ? AND
        ecm:mixinType != 'HiddenInNavigation'
        AND ecm:isVersion = 0 AND ecm:isTrashed = 0
      </pattern>
      <sort ascending="true" column="dc:title"/>
      <pageSize>50</pageSize>
    </coreQueryPageProvider>
  </extension>
</component>